package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.TagMedicineChestRelationDao;
import com.frogs.ucenter.entity.TagMedicineChestRelation;
import com.frogs.ucenter.service.TagMedicineChestRelationService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("tagMedicineChestRelationService")
public class TagMedicineChestRelationServiceImpl extends BaseServiceImpl<TagMedicineChestRelation> implements TagMedicineChestRelationService {
    @Autowired
    private TagMedicineChestRelationDao tagMedicineChestRelationDao;

    public TagMedicineChestRelationServiceImpl() {
        super();
    }

    public TagMedicineChestRelationDao getTagMedicineChestRelationDao() {
        return tagMedicineChestRelationDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<TagMedicineChestRelation> getBaseDao() {
        return tagMedicineChestRelationDao;
    }

    public void setTagMedicineChestRelationDao(TagMedicineChestRelationDao tagMedicineChestRelationDao) {
        this.tagMedicineChestRelationDao = tagMedicineChestRelationDao;
    }
}